* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}
.layout {
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  margin: 0 auto;
  overflow-y: auto;
  height: 100%;
  background-color: #ccc7c7;
  position: relative;
  /* 头部 */
  /* 内容 */
  /* 底部 */
}
.layout header {
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  position: fixed;
  font-size: 0.3rem;
  line-height: 0.8rem;
  height: 0.8rem;
  background-color: red;
  z-index: 999;
  text-align: center;
  color: white;
}
.layout header a {
  position: absolute;
  left: 0;
  padding: 0 0.2rem;
  color: white;
}
.layout .content {
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  position: relative;
  background-color: #ccc;
  padding: 0.8rem 0;
}
.layout .content nav {
  width: 100%;
  text-align: center;
  position: relative;
  min-width: 320px;
  max-width: 640px;
}
.layout .content nav .tu {
  width: 100%;
  text-align: center;
  position: relative;
  min-width: 320px;
  max-width: 640px;
  overflow: hidden;
}
.layout .content nav .tu img {
  width: 100%;
  display: block;
}
.layout .content nav .banners {
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  position: absolute;
  height: 3rem;
  left: 0;
  top: 0;
  padding: 0.5rem 0.3rem;
}
.layout .content nav .banners .b_left {
  float: left;
}
.layout .content nav .banners .b_left img {
  width: 1.5rem;
  display: block;
}
.layout .content nav .banners .b_right {
  width: 100%;
  position: absolute;
  float: left;
  height: 1rem;
}
.layout .content nav .banners .b_right p {
  color: white;
  font-size: 0.3rem;
  height: 0.5rem;
  margin-top: 0.2rem;
}
.layout .content nav .banners .b_right .ico {
  height: 0.8rem;
  padding-left: 1.6rem;
}
.layout .content nav .banners .b_right .ico ul {
  width: 1.8rem;
  height: 100%;
}
.layout .content nav .banners .b_right .ico ul li {
  width: 0.5rem;
  height: 0.5rem;
  line-height: 0.5rem;
  border-radius: 0.05rem;
  background-color: red;
  float: left;
  margin-left: 0.1rem;
}
.layout .content nav .banners .b_right .arrs {
  width: 1rem;
  height: 1rem;
  position: absolute;
  right: 0.3rem;
  top: -0.1rem;
  color: white;
  font-size: 0.8rem;
}
.layout .content nav .nums {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 5px 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.3);
}
.layout .content nav .nums li {
  width: 33.33%;
  float: left;
}
.layout .content nav .nums li a {
  width: 100%;
  color: white;
}
.layout .content nav .nums li p {
  text-align: center;
  font-size: 0.3rem;
}
.layout .content nav .nums li:nth-of-type(2) {
  border-left: 0.01rem solid white;
  border-right: 0.01rem solid white;
}
.layout .content nav .navs {
  width: 100%;
  text-align: center;
  overflow: hidden;
}
.layout .content nav .navs li {
  width: 33.33%;
  float: left;
  padding: 10px 0;
  font-size: 0.16rem;
  background-color: #fff;
  border-right: 1px solid silver;
  border-bottom: 1px solid silver;
}
.layout .content nav .navs li a {
  width: 100%;
  display: block;
  text-align: center;
  margin: 0 auto;
}
.layout .content nav .navs li a > img {
  width: 0.6rem;
  display: inline-block;
}
.layout .content nav .navs li a p {
  width: 100%;
  text-align: center;
  color: #666;
}
.layout .content nav .navs li:nth-of-type(3n) {
  border-right: 0px;
}
.layout .content main {
  width: 100%;
  margin-top: 0.1rem;
  overflow: hidden;
}
.layout .content main img {
  width: 100%;
  display: block;
}
.layout footer {
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  position: fixed;
  z-index: 999;
  bottom: 0;
  background-color: white;
  padding: 0.1rem 0;
}
.layout footer ul {
  width: 100%;
  text-align: center;
  overflow: hidden;
}
.layout footer ul li {
  width: 25%;
  float: left;
}
.layout footer ul li a {
  display: block;
  width: 100%;
  color: #9f9c9c;
  font-size: 0.4rem;
}
.layout footer ul li a p:nth-of-type(2) {
  margin-top: 0.05rem;
  font-size: 0.18rem;
}
